package com.nai365.nart.blockchain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("DDC转账请求参数")
public class TransferInDto {
	@ApiModelProperty(value = "转移地址")
	@NotBlank(message = "转移地址不能为空")
	private String fromAddress;

	@ApiModelProperty(value = "接收地址")
	@NotBlank(message = "接收地址不能为空")
	private String toAddress;

	@ApiModelProperty(value = "DDC ID")
	@NotBlank(message = "DDC ID不能为空")
	private String token;

	@ApiModelProperty(value = "转账份数")
	@NotBlank(message = "转账份数不能为空")
	private Integer copies;

}
